home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / totem-gstreamer.postinst < prev    next >
Encoding:
Text File  |  2009-04-14  |  1.1 KB  |  34 lines

  1. #! /bin/sh
  2. set -e
  3.  
  4. FLAVOUR=gstreamer
  5. PRIORITY=40
  6. NAUTILUS_EXTDIR=/usr/lib/nautilus/extensions-2.0
  7.  
  8. if [ "$1" = configure ]; then
  9.     update-alternatives --quiet --install \
  10.         /usr/bin/gnome-video-thumbnailer gnome-video-thumbnailer \
  11.         /usr/bin/totem-${FLAVOUR}-video-thumbnailer ${PRIORITY}
  12.     update-alternatives --quiet --install \
  13.         /usr/bin/totem totem /usr/bin/totem-${FLAVOUR} ${PRIORITY} \
  14.         --slave /usr/bin/totem-audio-preview totem-audio-preview \
  15.             /usr/bin/totem-${FLAVOUR}-audio-preview \
  16.         --slave /usr/bin/totem-video-indexer totem-video-indexer \
  17.             /usr/bin/totem-${FLAVOUR}-video-indexer \
  18.         --slave ${NAUTILUS_EXTDIR}/libtotem-properties-page.so \
  19.             libtotem-properties-page.so \
  20.             ${NAUTILUS_EXTDIR}/libtotem-properties-page.so.${FLAVOUR} \
  21.         --slave /usr/lib/totem/default totem-default.dir /usr/lib/totem/${FLAVOUR} \
  22.         --slave /usr/bin/totem-video-thumbnailer totem-video-thumbnailer \
  23.             /usr/bin/totem-${FLAVOUR}-video-thumbnailer
  24. fi
  25.  
  26. # Automatically added by dh_installmenu
  27. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  28.     update-menus
  29. fi
  30. # End automatically added section
  31.  
  32.  
  33. exit 0
  34.